FROM java:8
ENV APP_PATH=/docker/app
WORKDIR $APP_PATH
ADD ./target/cloud-eureka-0.0.1-SNAPSHOT.jar $APP_PATH/app.jar
EXPOSE 9200
ENTRYPOINT ["java","-jar"]
CMD ["app.jar", "--server.port=9200"]
